package com.xdcplus.web.common.pojo.vo.bd;

import com.xdcplus.mp.domain.oracle.Base;
import com.xdcplus.web.common.pojo.vo.tool.ToolInfoVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 工厂模型表(BdFactory)表VO类
 * 
 * @author Fish.Fei
 * @since 2023-01-31 13:35:21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "")
@SuppressWarnings("serial")
public class BdFactoryVO extends Base implements Serializable {
    private static final long serialVersionUID = -30317175593034543L;

    @ApiModelProperty("区域名称")
    private String regionName;
    @ApiModelProperty("负责人")
    private String admin;


    @ApiModelProperty("区域编码")
    private String regionCode;

    @ApiModelProperty("区域类型(00:工厂、01:车间、02:产线)")
    private String regionType;

    @ApiModelProperty("父级Code")
    private String parentCode;

    private String parentName;

    @ApiModelProperty("父级ID")
    private Long parentId;

    private List<BdFactoryVO> children;

    @ApiModelProperty("设备")
    private List<ToolInfoVO> toolInfoVOS;

}
